
#include <iostream>
#include "Log.hpp"

using namespace std;
using namespace huluwa;

int main()
{
    try {
        Log::Open();
        Log::SetToScreen(true);
        Log::Debug("TEST DEBUG MODE");
        Log::Debug("TEST DEBUG MODE");
        Log::Info("TEST INFO MODE");
        Log::Open();
        Log::Warning("TEST WARNING MODE");
        Log::Error("TEST ERROR MODE");
        Log::Fatal("TEST FATAL MODE");
        Log::Close();
    }
    catch (Exception& e) {
        cout << e.What() << endl;
    }
}
